package com.wzdigit.wms.wms.service.core.task;

import com.wzdigit.wms.basic.domain.task.TaskLogDtl;
import com.wzdigit.wms.basic.mapper.core.task.TaskLogDtlMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 后台任务执行日志明细 服务实现类
 * </p>
 *
 * @author 
 * @since 2021-03-19
 */
@Service
@Slf4j
public class TaskLogDtlService {

    @Autowired
    TaskLogDtlMapper taskLogDtlMapper;

    public Integer addOne(TaskLogDtl taskLogDtl) {

        int row = taskLogDtlMapper.insert(taskLogDtl);
        return row;
    }
}
